package com.zhanggm.zyk.pay.controller;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bw.zhanggm.file.config.AjaxResult;
import com.zhanggm.zyk.pay.entity.PaymentApp;
import com.zhanggm.zyk.pay.service.IPaymentAppService;
import groovy.transform.AutoFinal;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zhanggm
 * @since 2024-03-13
 */
@RestController
@RequestMapping("/pay")
public class PaymentAppController {

    @Autowired
    private IPaymentAppService iPaymentAppService;

    @GetMapping("page")
    public AjaxResult page(Page<PaymentApp> page) {
        return AjaxResult.success(iPaymentAppService.page(page));
    }



}
